package com.chookss.home.entity;

import java.io.Serializable;
import java.util.List;

public class CityEntity implements Serializable {


    /**
     * code : 110000000000
     * parentCode :
     * name : 北京市
     * lvlNo : 1
     * childList : [{"code":"110100000000","parentCode":"110000000000","name":"市辖区","lvlNo":"2"}]
     */

    private String code;
    private String parentCode;
    private String name;
    private String lvlNo;

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    private boolean isSelect;
    private List<ChildListBean> childList;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLvlNo() {
        return lvlNo;
    }

    public void setLvlNo(String lvlNo) {
        this.lvlNo = lvlNo;
    }

    public List<ChildListBean> getChildList() {
        return childList;
    }

    public void setChildList(List<ChildListBean> childList) {
        this.childList = childList;
    }

    public static class ChildListBean implements Serializable {
        /**
         * code : 110100000000
         * parentCode : 110000000000
         * name : 市辖区
         * lvlNo : 2
         */

        private String code;
        private String parentCode;
        private String name;

        public String getParentName() {
            return parentName;
        }

        public void setParentName(String parentName) {
            this.parentName = parentName;
        }

        private String parentName;
        private String lvlNo;
        private int index=0;//当前下标
        private int index_parent=0;//父类下标
        public int getIndex() {
            return index;
        }

        public void setIndex(int index) {
            this.index = index;
        }

        public int getIndex_parent() {
            return index_parent;
        }

        public void setIndex_parent(int index_parent) {
            this.index_parent = index_parent;
        }


        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        private boolean isSelect;
        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getParentCode() {
            return parentCode;
        }

        public void setParentCode(String parentCode) {
            this.parentCode = parentCode;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLvlNo() {
            return lvlNo;
        }

        public void setLvlNo(String lvlNo) {
            this.lvlNo = lvlNo;
        }
    }
}
